package com.lidong.lowcode.base.domain;

import java.util.List;

/**
 * @author LiDong
 * @version 1.0.0
 * @createTime 5/4/2022 1:03 PM
 */
public class TreeVO {

    /**
     * id
     */
    private String id;

    /**
     * 父节点 Id
     */
    private String parentId;

    /**
     * 节点编码
     */
    private String code;

    /**
     * 节点名称
     */
    private String name;

    /**
     * 勾选
     */
    private boolean checked;

    /**
     * 展开
     */
    private boolean unfold;

    /**
     * 子节点
     */
    private List<TreeVO> children;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public boolean isUnfold() {
        return unfold;
    }

    public void setUnfold(boolean unfold) {
        this.unfold = unfold;
    }

    public List<TreeVO> getChildren() {
        return children;
    }

    public void setChildren(List<TreeVO> children) {
        this.children = children;
    }
}
